package com.sidom.movieIndexer.service.imdb;

import java.util.List;

import com.sidom.movieIndexer.domain.Movie;
import com.sidom.movieIndexer.domain.imdb.ImdbResult;

/**
 * The high-level File business interface.
 *
 * <p>This services will get {@link ImdbResult} information for all the movies on the list.
 * <p>Make sure the imdb url is set in the {@link Movie} object.
 * <p>Uses screen scraping to fetch necessary information.
 *
 * @author Siebe
 */
public interface ImdbService {
	/**
	 * Sets {@link Movie#getImdb()} information for every {@link Movie} in the {@link List} of {@link Movie}s.
	 * @param movies A {@link List} of {@link Movie}s
	 * @return A {@link List} of {@link Movie}s with the {@link ImdbResult} information filled in.
	 */
	List<Movie> addImdbInformation(List<Movie> movies);
}
